package com.business.bean; 

import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/** 
 * @author fengjian E-mail: 9110530@qq.com 
 * @version 创建时间：2016年2月25日 下午9:08:08 
 * 类说明 :用户基础数据表
 */
@Table(name="DEPART", description ="用户基础数据表")
public class DepartBean {

	/** 主键 */
	@Column(name = "DEPART_ID", pk = true, type = Type.定长文本, canNull = false, description = "部门编码", size = 12, policy = "{yyyyMMdd}+[0001]")
	private String departID;

	@Column(name = "DEPART_NAME", type = Type.变长文本, description = "部门名称", canNull = false, size = 50)
	private String departName;

	@Column(name = "DELETE_FLAG", type = Type.数字整型, description = "删除标记", defaultValue = "1")
	private int deleteFlag = 1;

	public String getDepartID() {
		return departID;
	}

	public void setDepartID(String departID) {
		this.departID = departID;
	}

	public String getDepartName() {
		return departName;
	}

	public void setDepartName(String departName) {
		this.departName = departName;
	}

	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

}
